<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.fick.hibernate.model.*"%>
<%@ page import="com.fick.hibernate.dao.*"%>
<%@ include file="../tld/tlds.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="images/jiahao.css" rel="stylesheet" type="text/css">

		<link href="css/css.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="js/meihuaxue.js"></script>
		<script language="javaScript" src="js/prototype.js"></script>
		<script type="text/javascript" src="js/submit.js"></script>
	
		
</head>

<body>
<table width="100%"  height="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="100%" align="center" valign="top" background="images/main_bj.gif" bgcolor="#FBFCFD"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="23" align="left" valign="middle" background="images/main_top.gif"><table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="20" height="23">&nbsp;</td>
            <td width="400" height="23" align="left" valign="middle" class="ts_lmdh2">试验者类别 </td>
          </tr>
        </table></td>
      </tr>
    </table>
     
      <table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D7DFE1">
      <tr><input type="button" value="添加" onclick="window.location.href='<%=request.getContextPath() %>/admin/labclasses_add.jsp'"/></tr>
        <tr>

          <td width="20%" height="25" align="center" valign="middle" background="images/main_t_bj.gif" bgcolor="#FFFFFF" class="ts_lmdh">班级</td>
		    <td width="20%" height="25" align="center" valign="middle" background="images/main_t_bj.gif" bgcolor="#FFFFFF" class="ts_lmdh">操作</td>

        
        </tr>
       <%LabinfoDAO infodao=new LabinfoDAO();
       List lablist=infodao.findByProperty("type","33");
       for(int i=0;i<lablist.size();i++)
       {Labinfo lab=(Labinfo)lablist.get(i);
       %>
	
	    <tr>
		
          <td width="20%" height="25" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:7px"><%=lab.getClasses() %></td>
          <td width="20%" height="25" align="center" valign="middle" bgcolor="#FFFFFF"><a href='<%=request.getContextPath() %>/admin/labclasses_edit.jsp?labid=<%=lab.getId() %>'>修改</a> <a href='<%=request.getContextPath() %>/admin/labinfo.do?method=delete&labid=<%=lab.getId() %>&type=<%=lab.getType() %>' onclick="return confirm('确定要删除吗？');"> 删除</a></td>
	
	  </tr>
	 <%} %>
	  </table>
	  
	  
	  
	  
    </td>
  </tr>
</table>
</body>
</html>

